package com.tzbank.wisdom.consumer;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import com.tzbank.wisdom.hystrix.CommonServiceHystrix;

@FeignClient(value = "framework-common-service", fallback = CommonServiceHystrix.class)
public interface CommonServiceScheduler {

	@PostMapping("/pushConfig/getByBusinessType")
	public Map<String, Object> findByBusinessType(Map<String, Object> map);

	@PostMapping("/pushMsg/add")
	public Map<String, Object> addPushReqMsg(Map<String, Object> map);

	@PostMapping("/pushMsg/update")
	public Map<String, Object> updatePushReqMsg(Map<String, Object> map);
	
	@PostMapping("/msgTemp/add")
	public Map<String, Object> addMsgTemplate(Map<String, Object> map);
}
